class LoginSliderModel {
  num? originalHeight;
  num? sliderHeight;
  int? effectiveTime;
  String? slidingImage;
  num? sliderWidth;
  num? originalWidth;
  String? key;
  String? backImage;
  num? randomY;

  LoginSliderModel({
    this.originalHeight,
    this.sliderHeight,
    this.effectiveTime,
    this.slidingImage,
    this.sliderWidth,
    this.originalWidth,
    this.key,
    this.backImage,
    this.randomY,
  });

  LoginSliderModel.fromJson(Map<String, dynamic> json) {
    if (json["originalHeight"] is num) {
      originalHeight = (json["originalHeight"] as num).toInt();
    }
    if (json["sliderHeight"] is num) {
      sliderHeight = (json["sliderHeight"] as num).toInt();
    }
    if (json["effectiveTime"] is num) {
      effectiveTime = (json["effectiveTime"] as num).toInt();
    }
    if (json["slidingImage"] is String) {
      slidingImage = json["slidingImage"];
    }
    if (json["sliderWidth"] is num) {
      sliderWidth = (json["sliderWidth"] as num).toInt();
    }
    if (json["originalWidth"] is num) {
      originalWidth = (json["originalWidth"] as num).toInt();
    }
    if (json["key"] is String) {
      key = json["key"];
    }
    if (json["backImage"] is String) {
      backImage = json["backImage"];
    }
    if (json["randomY"] is num) {
      randomY = (json["randomY"] as num).toInt();
    }
  }

  static List<LoginSliderModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(LoginSliderModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["originalHeight"] = originalHeight;
    _data["sliderHeight"] = sliderHeight;
    _data["effectiveTime"] = effectiveTime;
    _data["slidingImage"] = slidingImage;
    _data["sliderWidth"] = sliderWidth;
    _data["originalWidth"] = originalWidth;
    _data["key"] = key;
    _data["backImage"] = backImage;
    _data["randomY"] = randomY;
    return _data;
  }
}
